package com.lry.sso.service;

import com.lry.sso.auth.common.util.SessionInfo;
import com.lry.sso.common.entity.response.ResultData;
import com.lry.sso.data.pojo.SysUser;
import com.lry.sso.service.vo.LoginParamVo;
import com.lry.sso.service.vo.LoginResponseVo;

import javax.servlet.http.HttpServletResponse;

/**
 * 登录服务接口
 *
 * @author 李瑞益
 * @date 2019/11/30
 */
public interface LoginService {

    ResultData<LoginResponseVo> login(LoginParamVo param, HttpServletResponse response);

    LoginResponseVo getResponseBasicUser(SessionInfo user);

    void logout();
}
